package com.pojo.mapper;

import com.pojo.Entity.Notice;
import com.pojo.dto.ToNotice;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NoticeMapper {
    public Integer insert(Notice notice);
    public Notice   findBynID(Integer nID);
    public List<ToNotice> findBypn(Integer Page, Integer Number);
    public Integer update(Notice notice);
    public Integer delete(Integer nID);
    public Integer getsum();
}
